package cn.qidd.keep.feignclient.product;

import cn.qidd.keep.domain.document.Product;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

public interface IProductService {

    @RequestMapping(value = "/sayHello", method = RequestMethod.GET)
    String sayHello();

    @RequestMapping(value = "/getAllList", method = RequestMethod.GET)
    List<Product> getAllList();

    @RequestMapping(value = "/getProduct/{id}", method = RequestMethod.GET)
    Product getProduct(@PathVariable("id") String id);

}
